home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer (Italian) 25 / PC Gamer IT CD 25.iso / ZGI_DEMO / DATA / SCRIPTS.ZFS / uc1g.scr < prev    next >
Text File  |  1997-09-04  |  21KB  |  667 lines

  1. # Node uc1g generated on Thu Sep 04 16:18:52 1997
  2. world u
  3. room c
  4. nodeview 1g
  5.  
  6. puzzle:01613 {    # uc1g_no_prefs
  7.     criteria {
  8.     }
  9.     results {
  10.         action:menu_bar_enable(781)
  11.     }
  12.     flags {
  13.         once_per_inst
  14.         do_me_now
  15.     }
  16. }
  17.  
  18. puzzle:01614 {    # uc1g_preload
  19.     criteria {
  20.     }
  21.     results {
  22.         action:animpreload:01615(uc1ga012.avi 0 0 0 0)    # uc1g_shatter_glass_avi
  23.         action:animpreload:01616(uc1ga022.avi 0 0 0 0)    # uc1g_open_close_hammer_avi
  24.         action:animpreload:01617(uc1ga032.avi 0 0 0 0)    # uc1g_open_close_nohammer_avi
  25.     }
  26.     flags {
  27.         once_per_inst
  28.         do_me_now
  29.     }
  30. }
  31.  
  32. puzzle:01618 {    # uc1g_add_to_score
  33.     criteria {
  34.         [01619] = 1    # uc1g_break_glass
  35.     }
  36.     results {
  37.         action:add(14999, 10)    # user_score
  38.     }
  39. }
  40.  
  41. puzzle:01620 {    # uc1g_dm_speaks
  42.     criteria {
  43.         [01024] ! 1    # voice_over
  44.     }
  45.     results {
  46.         action:kill(01024)    # voice_over
  47.         action:assign(01582, 4)    # person_talking
  48.         action:universe_music:01024(1 uc1gh60p.raw 0 100)    # voice_over
  49.     }
  50. }
  51.  
  52. puzzle:01621 {    # uc1g_screenset
  53.     criteria {
  54.         [01619] = 0    # uc1g_break_glass
  55.         [01622] = 0    # uc1g_case_open
  56.         [01549] = 0    # uc1g_pickup_hammer
  57.     }
  58.     results {
  59.         action:set_screen(uc1gf011.tga)
  60.         action:enable_control(01623)    # uc1g_open_case_ctrl
  61.         action:disable_control(01624)    # uc1g_close_case_ctrl
  62.         action:disable_control(01625)    # uc1g_break_case_ctrl
  63.         action:disable_control(01626)    # uc1g_grab_hammer
  64.         action:disable_control(01627)    # uc1g_cant_grab_hotspot
  65.         action:enable_control(01628)    # uc1g_grab_map
  66.         action:enable_control(01629)    # uc1g_grab_sword1
  67.         action:enable_control(01630)    # uc1g_grab_sword2
  68.     }
  69.     flags {
  70.         once_per_inst
  71.         do_me_now
  72.     }
  73. }
  74.  
  75. puzzle:01621 {    # uc1g_screenset
  76.     criteria {
  77.         [01619] = 0    # uc1g_break_glass
  78.         [01622] = 1    # uc1g_case_open
  79.         [01549] = 0    # uc1g_pickup_hammer
  80.     }
  81.     results {
  82.         action:disable_control(01623)    # uc1g_open_case_ctrl
  83.         action:enable_control(01624)    # uc1g_close_case_ctrl
  84.         action:disable_control(01625)    # uc1g_break_case_ctrl
  85.         action:enable_control(01626)    # uc1g_grab_hammer
  86.         action:disable_control(01628)    # uc1g_grab_map
  87.         action:disable_control(01629)    # uc1g_grab_sword1
  88.         action:disable_control(01630)    # uc1g_grab_sword2
  89.         action:enable_control(01627)    # uc1g_cant_grab_hotspot
  90.         action:set_screen(uc1gf021.tga)
  91.     }
  92.     flags {
  93.         once_per_inst
  94.         do_me_now
  95.     }
  96. }
  97.  
  98. puzzle:01621 {    # uc1g_screenset
  99.     criteria {
  100.         [01619] = 0    # uc1g_break_glass
  101.         [01622] = 0    # uc1g_case_open
  102.         [01549] = 1    # uc1g_pickup_hammer
  103.     }
  104.     results {
  105.         action:enable_control(01623)    # uc1g_open_case_ctrl
  106.         action:disable_control(01624)    # uc1g_close_case_ctrl
  107.         action:enable_control(01625)    # uc1g_break_case_ctrl
  108.         action:disable_control(01626)    # uc1g_grab_hammer
  109.         action:disable_control(01627)    # uc1g_cant_grab_hotspot
  110.         action:enable_control(01628)    # uc1g_grab_map
  111.         action:enable_control(01629)    # uc1g_grab_sword1
  112.         action:enable_control(01630)    # uc1g_grab_sword2
  113.         action:set_screen(uc1gf031.tga)
  114.     }
  115.     flags {
  116.         once_per_inst
  117.         do_me_now
  118.     }
  119. }
  120.  
  121. puzzle:01621 {    # uc1g_screenset
  122.     criteria {
  123.         [01619] = 0    # uc1g_break_glass
  124.         [01622] = 1    # uc1g_case_open
  125.         [01549] = 1    # uc1g_pickup_hammer
  126.     }
  127.     results {
  128.         action:disable_control(01623)    # uc1g_open_case_ctrl
  129.         action:enable_control(01624)    # uc1g_close_case_ctrl
  130.         action:disable_control(01625)    # uc1g_break_case_ctrl
  131.         action:disable_control(01626)    # uc1g_grab_hammer
  132.         action:disable_control(01628)    # uc1g_grab_map
  133.         action:disable_control(01629)    # uc1g_grab_sword1
  134.         action:disable_control(01630)    # uc1g_grab_sword2
  135.         action:disable_control(01627)    # uc1g_cant_grab_hotspot
  136.         action:set_screen(uc1gf041.tga)
  137.     }
  138.     flags {
  139.         once_per_inst
  140.         do_me_now
  141.     }
  142. }
  143.  
  144. puzzle:01621 {    # uc1g_screenset
  145.     criteria {
  146.         [01619] = 1    # uc1g_break_glass
  147.         [01550] = 0    # uc1g_pickup_map_1
  148.         [01551] = 0    # uc1g_pickup_sword_1
  149.     }
  150.     results {
  151.         action:disable_control(01623)    # uc1g_open_case_ctrl
  152.         action:disable_control(01624)    # uc1g_close_case_ctrl
  153.         action:disable_control(01625)    # uc1g_break_case_ctrl
  154.         action:disable_control(01626)    # uc1g_grab_hammer
  155.         action:enable_control(01628)    # uc1g_grab_map
  156.         action:enable_control(01629)    # uc1g_grab_sword1
  157.         action:enable_control(01630)    # uc1g_grab_sword2
  158.         action:disable_control(01627)    # uc1g_cant_grab_hotspot
  159.         action:set_screen(uc1gf051.tga)
  160.     }
  161.     flags {
  162.         once_per_inst
  163.         do_me_now
  164.     }
  165. }
  166.  
  167. puzzle:01621 {    # uc1g_screenset
  168.     criteria {
  169.         [01619] = 1    # uc1g_break_glass
  170.         [01550] = 0    # uc1g_pickup_map_1
  171.         [01551] = 1    # uc1g_pickup_sword_1
  172.     }
  173.     results {
  174.         action:disable_control(01623)    # uc1g_open_case_ctrl
  175.         action:disable_control(01624)    # uc1g_close_case_ctrl
  176.         action:disable_control(01625)    # uc1g_break_case_ctrl
  177.         action:disable_control(01626)    # uc1g_grab_hammer
  178.         action:enable_control(01628)    # uc1g_grab_map
  179.         action:disable_control(01629)    # uc1g_grab_sword1
  180.         action:disable_control(01630)    # uc1g_grab_sword2
  181.         action:disable_control(01627)    # uc1g_cant_grab_hotspot
  182.         action:set_screen(uc1gf061.tga)
  183.     }
  184.     flags {
  185.         once_per_inst
  186.         do_me_now
  187.     }
  188. }
  189.  
  190. puzzle:01621 {    # uc1g_screenset
  191.     criteria {
  192.         [01619] = 1    # uc1g_break_glass
  193.         [01550] = 1    # uc1g_pickup_map_1
  194.         [01551] = 0    # uc1g_pickup_sword_1
  195.     }
  196.     results {
  197.         action:disable_control(01623)    # uc1g_open_case_ctrl
  198.         action:disable_control(01624)    # uc1g_close_case_ctrl
  199.         action:disable_control(01625)    # uc1g_break_case_ctrl
  200.         action:disable_control(01626)    # uc1g_grab_hammer
  201.         action:disable_control(01628)    # uc1g_grab_map
  202.         action:enable_control(01629)    # uc1g_grab_sword1
  203.         action:enable_control(01630)    # uc1g_grab_sword2
  204.         action:disable_control(01627)    # uc1g_cant_grab_hotspot
  205.         action:set_screen(uc1gf071.tga)
  206.     }
  207.     flags {
  208.         once_per_inst
  209.         do_me_now
  210.     }
  211. }
  212.  
  213. puzzle:01621 {    # uc1g_screenset
  214.     criteria {
  215.         [01619] = 1    # uc1g_break_glass
  216.         [01550] = 1    # uc1g_pickup_map_1
  217.         [01551] = 1    # uc1g_pickup_sword_1
  218.     }
  219.     results {
  220.         action:disable_control(01623)    # uc1g_open_case_ctrl
  221.         action:disable_control(01624)    # uc1g_close_case_ctrl
  222.         action:disable_control(01625)    # uc1g_break_case_ctrl
  223.         action:disable_control(01626)    # uc1g_grab_hammer
  224.         action:disable_control(01628)    # uc1g_grab_map
  225.         action:disable_control(01629)    # uc1g_grab_sword1
  226.         action:disable_control(01630)    # uc1g_grab_sword2
  227.         action:disable_control(01627)    # uc1g_cant_grab_hotspot
  228.         action:set_screen(uc1gf081.tga)
  229.     }
  230.     flags {
  231.         once_per_inst
  232.         do_me_now
  233.     }
  234. }
  235.  
  236. puzzle:01631 {    # uc1g_open_case_hammer
  237.     criteria {
  238.         [01623] = 1    # uc1g_open_case_ctrl
  239.         [01549] = 0    # uc1g_pickup_hammer
  240.     }
  241.     results {
  242.         action:assign(01631, 0)    # uc1g_open_case_hammer
  243.         action:assign(01623, 0)    # uc1g_open_case_ctrl
  244.         action:assign(01622, 1)    # uc1g_case_open
  245.         action:syncsound(01616 0 uc1gq02q.raw 22050 16 1 0)    # uc1g_open_close_hammer_avi
  246.         action:playpreload:01632(01616 0 0 640 344 0 8 1)    # uc1g_open_close_hammer_avi
  247.         action:disable_control(01623)    # uc1g_open_case_ctrl
  248.         action:disable_control(01629)    # uc1g_grab_sword1
  249.         action:disable_control(01630)    # uc1g_grab_sword2
  250.         action:disable_control(01628)    # uc1g_grab_map
  251.     }
  252.     flags {
  253.         once_per_inst
  254.     }
  255. }
  256.  
  257. puzzle:01633 {    # uc1g_open_case_hammer_end
  258.     criteria {
  259.         [01632] = 2    # uc1g_open_case_task_1
  260.     }
  261.     results {
  262.         action:assign(01633, 0)    # uc1g_open_case_hammer_end
  263.         action:assign(01632, 0)    # uc1g_open_case_task_1
  264.         action:set_screen(uc1gf021.tga)
  265.         action:enable_control(01627)    # uc1g_cant_grab_hotspot
  266.         action:enable_control(01624)    # uc1g_close_case_ctrl
  267.         action:enable_control(01626)    # uc1g_grab_hammer
  268.     }
  269.     flags {
  270.         once_per_inst
  271.     }
  272. }
  273.  
  274. puzzle:01634 {    # uc1g_close_case_hammer
  275.     criteria {
  276.         [01624] = 1    # uc1g_close_case_ctrl
  277.         [01549] = 0    # uc1g_pickup_hammer
  278.     }
  279.     results {
  280.         action:assign(01634, 0)    # uc1g_close_case_hammer
  281.         action:assign(01624, 0)    # uc1g_close_case_ctrl
  282.         action:assign(01622, 0)    # uc1g_case_open
  283.         action:syncsound(01616 0 uc1gq03q.raw 22050 16 1 0)    # uc1g_open_close_hammer_avi
  284.         action:playpreload:01635(01616 0 0 640 344 8 17 1)    # uc1g_open_close_hammer_avi
  285.         action:disable_control(01624)    # uc1g_close_case_ctrl
  286.         action:disable_control(01627)    # uc1g_cant_grab_hotspot
  287.         action:disable_control(01626)    # uc1g_grab_hammer
  288.     }
  289.     flags {
  290.         once_per_inst
  291.     }
  292. }
  293.  
  294. puzzle:01636 {    # uc1g_close_case_hammer_end
  295.     criteria {
  296.         [01635] = 2    # uc1g_close_case_task_1
  297.     }
  298.     results {
  299.         action:assign(01636, 0)    # uc1g_close_case_hammer_end
  300.         action:assign(01635, 0)    # uc1g_close_case_task_1
  301.         action:set_screen(uc1gf011.tga)
  302.         action:enable_control(01623)    # uc1g_open_case_ctrl
  303.         action:enable_control(01629)    # uc1g_grab_sword1
  304.         action:enable_control(01630)    # uc1g_grab_sword2
  305.         action:enable_control(01628)    # uc1g_grab_map
  306.     }
  307.     flags {
  308.         once_per_inst
  309.     }
  310. }
  311.  
  312. puzzle:01637 {    # uc1g_open_case_nohammer
  313.     criteria {
  314.         [01623] = 1    # uc1g_open_case_ctrl
  315.         [01549] = 1    # uc1g_pickup_hammer
  316.     }
  317.     results {
  318.         action:assign(01637, 0)    # uc1g_open_case_nohammer
  319.         action:assign(01623, 0)    # uc1g_open_case_ctrl
  320.         action:assign(01622, 1)    # uc1g_case_open
  321.         action:syncsound(01617 0 uc1gq02q.raw 22050 16 1 0)    # uc1g_open_close_nohammer_avi
  322.         action:playpreload:01638(01617 0 0 640 344 0 12 1)    # uc1g_open_close_nohammer_avi
  323.         action:disable_control(01629)    # uc1g_grab_sword1
  324.         action:disable_control(01630)    # uc1g_grab_sword2
  325.         action:disable_control(01628)    # uc1g_grab_map
  326.         action:disable_control(01625)    # uc1g_break_case_ctrl
  327.         action:disable_control(01623)    # uc1g_open_case_ctrl
  328.     }
  329.     flags {
  330.         once_per_inst
  331.     }
  332. }
  333.  
  334. puzzle:01639 {    # uc1g_open_case_nohammer_end
  335.     criteria {
  336.         [01638] = 2    # uc1g_open_case_task_2
  337.     }
  338.     results {
  339.         action:assign(01639, 0)    # uc1g_open_case_nohammer_end
  340.         action:assign(01638, 0)    # uc1g_open_case_task_2
  341.         action:set_screen(uc1gf041.tga)
  342.         action:enable_control(01624)    # uc1g_close_case_ctrl
  343.         action:enable_control(01627)    # uc1g_cant_grab_hotspot
  344.     }
  345.     flags {
  346.         once_per_inst
  347.     }
  348. }
  349.  
  350. puzzle:01640 {    # uc1g_close_case_nohammer
  351.     criteria {
  352.         [01624] = 1    # uc1g_close_case_ctrl
  353.         [01549] = 1    # uc1g_pickup_hammer
  354.     }
  355.     results {
  356.         action:assign(01640, 0)    # uc1g_close_case_nohammer
  357.         action:assign(01624, 0)    # uc1g_close_case_ctrl
  358.         action:assign(01622, 0)    # uc1g_case_open
  359.         action:syncsound(01617 0 uc1gq03q.raw 22050 16 1 0)    # uc1g_open_close_nohammer_avi
  360.         action:playpreload:01641(01617 0 0 640 344 13 24 1)    # uc1g_open_close_nohammer_avi
  361.         action:disable_control(01624)    # uc1g_close_case_ctrl
  362.         action:disable_control(01627)    # uc1g_cant_grab_hotspot
  363.     }
  364.     flags {
  365.         once_per_inst
  366.     }
  367. }
  368.  
  369. puzzle:01642 {    # uc1g_close_case_nohammer_end
  370.     criteria {
  371.         [01641] = 2    # uc1g_close_case_task_2
  372.     }
  373.     results {
  374.         action:assign(01642, 0)    # uc1g_close_case_nohammer_end
  375.         action:assign(01641, 0)    # uc1g_close_case_task_2
  376.         action:set_screen(uc1gf031.tga)
  377.         action:enable_control(01625)    # uc1g_break_case_ctrl
  378.         action:enable_control(01623)    # uc1g_open_case_ctrl
  379.         action:enable_control(01629)    # uc1g_grab_sword1
  380.         action:enable_control(01630)    # uc1g_grab_sword2
  381.         action:enable_control(01628)    # uc1g_grab_map
  382.     }
  383.     flags {
  384.         once_per_inst
  385.     }
  386. }
  387.  
  388. puzzle:01643 {    # uc1g_dm_speaks_2
  389.     criteria {
  390.         [01024] ! 1    # voice_over
  391.         [01626] = 1    # uc1g_grab_hammer
  392.     }
  393.     results {
  394.         action:kill(01024)    # voice_over
  395.         action:assign(01582, 4)    # person_talking
  396.         action:universe_music:01024(1 uw1hh60p.raw 0 100)    # voice_over
  397.     }
  398. }
  399.  
  400. puzzle:01549 {    # uc1g_pickup_hammer
  401.     criteria {
  402.         [01626] = 1    # uc1g_grab_hammer
  403.     }
  404.     results {
  405.         action:assign(01644, 1)    # uw1k_dm_speaks_2
  406.         action:disable_control(01626)    # uc1g_grab_hammer
  407.         action:set_partial_screen(373 188 uc1gv021.tga 0 -1)
  408.         action:music:01645(0 g100h52q.raw 0 100)    # uc1g_grab_hammer_audio
  409.         action:inventory(add 23)
  410.     }
  411. }
  412.  
  413. puzzle:01619 {    # uc1g_break_glass
  414.     criteria {
  415.         [01625] = 1    # uc1g_break_case_ctrl
  416.         [00009] = 23    # Inventory
  417.     }
  418.     criteria {
  419.         [01628] = 1    # uc1g_grab_map
  420.         [00009] = 23    # Inventory
  421.     }
  422.     criteria {
  423.         [01629] = 1    # uc1g_grab_sword1
  424.         [00009] = 23    # Inventory
  425.     }
  426.     criteria {
  427.         [01630] = 1    # uc1g_grab_sword2
  428.         [00009] = 23    # Inventory
  429.     }
  430.     results {
  431.         action:assign(01625, 0)    # uc1g_break_case_ctrl
  432.         action:assign(01628, 0)    # uc1g_grab_map
  433.         action:assign(01629, 0)    # uc1g_grab_sword1
  434.         action:assign(01630, 0)    # uc1g_grab_sword2
  435.         action:disable_control(01623)    # uc1g_open_case_ctrl
  436.         action:assign(01646, 1)    # uc1g_trying_to_grab_when_unbroken
  437.         action:syncsound(01615 0 uc1gq01q.raw 22050 16 1 0)    # uc1g_shatter_glass_avi
  438.         action:playpreload:01647(01615 0 0 640 344 0 14 1)    # uc1g_shatter_glass_avi
  439.     }
  440. }
  441.  
  442. puzzle:01648 {    # uc1g_break_glass_end
  443.     criteria {
  444.         [01647] = 2    # uc1g_shatter_glass_task_1
  445.     }
  446.     results {
  447.         action:disable_control(01625)    # uc1g_break_case_ctrl
  448.         action:enable_control(01628)    # uc1g_grab_map
  449.         action:enable_control(01629)    # uc1g_grab_sword1
  450.         action:enable_control(01630)    # uc1g_grab_sword2
  451.     }
  452. }
  453.  
  454. puzzle:01649 {    # uc1g_break_glass_emptyclick
  455.     criteria {
  456.         [01625] = 1    # uc1g_break_case_ctrl
  457.         [00009] ! 23    # Inventory
  458.     }
  459.     results {
  460.         action:assign(01625, 0)    # uc1g_break_case_ctrl
  461.         action:assign(01649, 0)    # uc1g_break_glass_emptyclick
  462.     }
  463.     flags {
  464.         once_per_inst
  465.     }
  466. }
  467.  
  468. puzzle:01550 {    # uc1g_pickup_map_1
  469.     criteria {
  470.         [01619] = 1    # uc1g_break_glass
  471.         [01628] = 1    # uc1g_grab_map
  472.         [01551] = 0    # uc1g_pickup_sword_1
  473.     }
  474.     results {
  475.         action:assign(01650, 1)    # uc1g_pickup_map_2
  476.         action:disable_control(01628)    # uc1g_grab_map
  477.         action:set_screen(uc1gf071.tga)
  478.         action:assign(00192, 2)    # SPELL_2_IN_BOOK
  479.         action:dissolve()
  480.         action:change_location(g, j, m1, 0)
  481.     }
  482. }
  483.  
  484. puzzle:01650 {    # uc1g_pickup_map_2
  485.     criteria {
  486.         [01619] = 1    # uc1g_break_glass
  487.         [01628] = 1    # uc1g_grab_map
  488.         [01551] = 1    # uc1g_pickup_sword_1
  489.     }
  490.     results {
  491.         action:assign(01550, 1)    # uc1g_pickup_map_1
  492.         action:disable_control(01628)    # uc1g_grab_map
  493.         action:set_screen(uc1gf081.tga)
  494.         action:assign(00192, 2)    # SPELL_2_IN_BOOK
  495.         action:dissolve()
  496.         action:change_location(g, j, m1, 0)
  497.     }
  498. }
  499.  
  500. puzzle:01646 {    # uc1g_trying_to_grab_when_unbroken
  501.     criteria {
  502.         [01627] = 1    # uc1g_cant_grab_hotspot
  503.         [01024] ! 1    # voice_over
  504.     }
  505.     results {
  506.         action:assign(01627, 0)    # uc1g_cant_grab_hotspot
  507.         action:music:01651(0 uc1gh07q.raw 0 100)    # uc1g_cant_grab_sound
  508.         action:kill(01024)    # voice_over
  509.         action:universe_music:01024(0 uc1gh61p.raw 0 100)    # voice_over
  510.     }
  511. }
  512.  
  513. puzzle:01652 {    # uc1g_trying_to_grab_empty_clicks
  514.     criteria {
  515.         [01619] = 0    # uc1g_break_glass
  516.         [01628] = 1    # uc1g_grab_map
  517.         [00009] ! 23    # Inventory
  518.     }
  519.     criteria {
  520.         [01619] = 0    # uc1g_break_glass
  521.         [01629] = 1    # uc1g_grab_sword1
  522.         [00009] ! 23    # Inventory
  523.     }
  524.     criteria {
  525.         [01619] = 0    # uc1g_break_glass
  526.         [01630] = 1    # uc1g_grab_sword2
  527.         [00009] ! 23    # Inventory
  528.     }
  529.     results {
  530.         action:assign(01628, 0)    # uc1g_grab_map
  531.         action:assign(01629, 0)    # uc1g_grab_sword1
  532.         action:assign(01630, 0)    # uc1g_grab_sword2
  533.         action:assign(01652, 0)    # uc1g_trying_to_grab_empty_clicks
  534.         action:music:01651(0 uc1gh07q.raw 0 100)    # uc1g_cant_grab_sound
  535.     }
  536.     flags {
  537.         once_per_inst
  538.     }
  539. }
  540.  
  541. puzzle:01551 {    # uc1g_pickup_sword_1
  542.     criteria {
  543.         [01648] = 1    # uc1g_break_glass_end
  544.         [01629] = 1    # uc1g_grab_sword1
  545.         [01550] = 0    # uc1g_pickup_map_1
  546.     }
  547.     criteria {
  548.         [01648] = 1    # uc1g_break_glass_end
  549.         [01630] = 1    # uc1g_grab_sword2
  550.         [01550] = 0    # uc1g_pickup_map_1
  551.     }
  552.     results {
  553.         action:assign(01653, 1)    # uc1g_pickup_sword_2
  554.         action:disable_control(01629)    # uc1g_grab_sword1
  555.         action:disable_control(01630)    # uc1g_grab_sword2
  556.         action:inventory(add 21)
  557.         action:music:01654(0 g100h50q.raw 0 100)    # uc1g_grab_sword_audio
  558.         action:set_screen(uc1gf061.tga)
  559.         action:assign(01655, 1)    # user_has_sword
  560.     }
  561. }
  562.  
  563. puzzle:01653 {    # uc1g_pickup_sword_2
  564.     criteria {
  565.         [01648] = 1    # uc1g_break_glass_end
  566.         [01629] = 1    # uc1g_grab_sword1
  567.         [01550] = 1    # uc1g_pickup_map_1
  568.     }
  569.     criteria {
  570.         [01648] = 1    # uc1g_break_glass_end
  571.         [01630] = 1    # uc1g_grab_sword2
  572.         [01550] = 1    # uc1g_pickup_map_1
  573.     }
  574.     results {
  575.         action:assign(01551, 1)    # uc1g_pickup_sword_1
  576.         action:disable_control(01629)    # uc1g_grab_sword1
  577.         action:disable_control(01630)    # uc1g_grab_sword2
  578.         action:music:01654(0 g100h50q.raw 0 100)    # uc1g_grab_sword_audio
  579.         action:inventory(add 21)
  580.         action:set_screen(uc1gf081.tga)
  581.         action:assign(01655, 1)    # user_has_sword
  582.     }
  583. }
  584.  
  585. puzzle:01656 {    # uc1g_move_backwards
  586.     criteria {
  587.         [01549] = 0    # uc1g_pickup_hammer
  588.         [01657] = 1    # uc1g_backup
  589.     }
  590.     results {
  591.         action:assign(01658, 1)    # uc1g_intro_sound
  592.         action:assign(01657, 0)    # uc1g_backup
  593.         action:dissolve()
  594.         action:change_location(u, c, 10, 1075)
  595.     }
  596.     flags {
  597.         once_per_inst
  598.     }
  599. }
  600.  
  601. puzzle:01659 {    # uc1g_move_backwards_grabbed
  602.     criteria {
  603.         [01549] = 1    # uc1g_pickup_hammer
  604.         [01657] = 1    # uc1g_backup
  605.     }
  606.     results {
  607.         action:assign(01644, 1)    # uw1k_dm_speaks_2
  608.         action:assign(01643, 1)    # uc1g_dm_speaks_2
  609.         action:assign(01658, 1)    # uc1g_intro_sound
  610.         action:assign(01657, 0)    # uc1g_backup
  611.         action:dissolve()
  612.         action:change_location(u, c, 10, 1075)
  613.     }
  614.     flags {
  615.         once_per_inst
  616.     }
  617. }
  618.  
  619. control:01657 push_toggle {    # uc1g_backup
  620.     flat_hotspot(0, 289, 640, 55)
  621.     cursor(backward)
  622. }
  623.  
  624. control:01623 push_toggle {    # uc1g_open_case_ctrl
  625.     flat_hotspot(427, 101, 96, 186)
  626.     cursor(active)
  627. }
  628.  
  629. control:01624 push_toggle {    # uc1g_close_case_ctrl
  630.     flat_hotspot(100, 106, 264, 183)
  631.     cursor(active)
  632. }
  633.  
  634. control:01625 push_toggle {    # uc1g_break_case_ctrl
  635.     flat_hotspot(124, 120, 283, 180)
  636.     cursor(active)
  637. }
  638.  
  639. control:01627 push_toggle {    # uc1g_cant_grab_hotspot
  640.     flat_hotspot(366, 133, 101, 157)
  641.     cursor(handpu)
  642. }
  643.  
  644. control:01626 push_toggle {    # uc1g_grab_hammer
  645.     flat_hotspot(372, 192, 61, 104)
  646.     cursor(handpu)
  647. }
  648.  
  649. control:01628 push_toggle {    # uc1g_grab_map
  650.     flat_hotspot(171, 201, 181, 77)
  651.     cursor(handpu)
  652. }
  653.  
  654. control:01629 push_toggle {    # uc1g_grab_sword1
  655.     flat_hotspot(155, 128, 198, 73)
  656.     cursor(handpu)
  657. }
  658.  
  659. control:01630 push_toggle {    # uc1g_grab_sword2
  660.     flat_hotspot(352, 162, 94, 113)
  661.     cursor(handpu)
  662. }
  663.  
  664. control:01660 flat {    # uc1g_flat
  665. }
  666.  
  667.